projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fadab44
)
(eshell-find-alias-function): Corrected the fix from last night, since
author
John Wiegley
<johnw@newartisans.com>
Tue, 24 Apr 2001 20:48:14 +0000
(20:48 +0000)
committer
John Wiegley
<johnw@newartisans.com>
Tue, 24 Apr 2001 20:48:14 +0000
(20:48 +0000)
it wasn't finding eshell/cd.
lisp/eshell/esh-cmd.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-cmd.el
b/lisp/eshell/esh-cmd.el
index 24b51a1f6b8dc3da47ad6c0d6b17e418cd372d79..0b5cf0c8d26d3bf44d24b0da77a0da5cfd54d783 100644
(file)
--- a/
lisp/eshell/esh-cmd.el
+++ b/
lisp/eshell/esh-cmd.el
@@
-1293,8
+1293,10
@@
COMMAND may result in an alias being executed, or a plain command."
(intern (file-name-sans-extension
(file-name-nondirectory
(concat "eshell-" (match-string 2 file)))))))
- (if (and (eshell-using-module module-sym)
- (memq module-sym (eshell-subgroups 'eshell)))
+ (if (and (functionp sym)
+ (or (null module-sym)
+ (eshell-using-module module-sym)
+ (memq module-sym (eshell-subgroups 'eshell))))
sym))
;; Otherwise, if it's bound, return it.
(if (functionp sym)